package cn.yunyichina.provider.guide.entity;

import java.math.BigDecimal;

import cn.yunyichina.provider.guide.GuideConstants;
import cn.yunyichina.provider.guide.service.impl.GuideInstanceServiceImpl;
import cn.yunyichina.provider.iface.entity.base.OrderExtVo;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-03-07 17:02:37
*/
public class RegisterRecord {

     /**/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*支付窗或微信ID标记 该应用的唯一性*/
     private String appId;
     public void setAppId(String appId) {
          this.appId = appId;
     }
     public String getAppId() {
          return appId;
     }

 
     private String appCode;
     public void setAppCode(String appCode) {
          this.appCode = appCode;
     }
     public String getAppCode() {
          return appCode;
     }

     /*医院ID*/
     private String hospitalId;
     public void setHospitalId(String hospitalId) {
          this.hospitalId = hospitalId;
     }
     public String getHospitalId() {
          return hospitalId;
     }

     /*医院代码*/
     private String hospitalCode;
     public void setHospitalCode(String hospitalCode) {
          this.hospitalCode = hospitalCode;
     }
     public String getHospitalCode() {
          return hospitalCode;
     }

     /*医院名称*/
     private String hospitalName;
     public void setHospitalName(String hospitalName) {
          this.hospitalName = hospitalName;
     }
     public String getHospitalName() {
          return hospitalName;
     }

     /*分院ID*/
     private String branchId;
     public void setBranchId(String branchId) {
          this.branchId = branchId;
     }
     public String getBranchId() {
          return branchId;
     }

     /*分院编码*/
     private String branchCode;
     public void setBranchCode(String branchCode) {
          this.branchCode = branchCode;
     }
     public String getBranchCode() {
          return branchCode;
     }

     /*挂号状态：0: 预约中,1: 已预约,2: 用户取消,3: 支付超时取消,4: 停诊取消,5: 预约异常(his锁号异常),6: 第三方支付异常,7: 支付确认异常,8: 取消挂号异常,9: 退费前确认异常,10: 第三方退费异常,11: 退费后确认异常,12: 挂号失败,13: 异常轮询处理成功,14: 业务异常  需人工处理,15: 业务异常  需窗口处理,16: 停诊取消异常 未支付,17: 停诊预约退费确认异常,18: 停诊第三方退费异常,19: 停诊退费后确认异常,20: 窗口退费成功,21: 窗口退费异常,23: 后台退费成功,24: 后台退费失,*/
     private Integer regStatus;
     public void setRegStatus(Integer regStatus) {
          this.regStatus = regStatus;
     }
     public Integer getRegStatus() {
          return regStatus;
     }

     /*支付状态：1：未支付, ,2：已支付,3：已退费,4: 支付中,5:订单退费中,6:订单已关闭,7:未退费,*/
     private Integer payStatus;
     public void setPayStatus(Integer payStatus) {
          this.payStatus = payStatus;
     }
     public Integer getPayStatus() {
          return payStatus;
     }

     /*绑定诊疗卡类型*/
     private Integer cardType;
     public void setCardType(Integer cardType) {
          this.cardType = cardType;
     }
     public Integer getCardType() {
          return cardType;
     }

     /*绑定诊疗卡号*/
     private String cardNo;
     public void setCardNo(String cardNo) {
          this.cardNo = cardNo;
     }
     public String getCardNo() {
          return cardNo;
     }

     /*用户openId*/
     private String openId;
     public void setOpenId(String openId) {
          this.openId = openId;
     }
     public String getOpenId() {
          return openId;
     }

     /*用户ID*/
     private String userId;
     public void setUserId(String userId) {
          this.userId = userId;
     }
     public String getUserId() {
          return userId;
     }

     /*是否发生异常  0 否 1是*/
     private Integer isException;
     public void setIsException(Integer isException) {
          this.isException = isException;
     }
     public Integer getIsException() {
          return isException;
     }

     /*是否处理成功   1是   0 否*/
     private Integer isHandleSuccess;
     public void setIsHandleSuccess(Integer isHandleSuccess) {
          this.isHandleSuccess = isHandleSuccess;
     }
     public Integer getIsHandleSuccess() {
          return isHandleSuccess;
     }

     /*处理次数*/
     private Integer handleCount;
     public void setHandleCount(Integer handleCount) {
          this.handleCount = handleCount;
     }
     public Integer getHandleCount() {
          return handleCount;
     }

     /*异常处理日志*/
     private String handleLog;
     public void setHandleLog(String handleLog) {
          this.handleLog = handleLog;
     }
     public String getHandleLog() {
          return handleLog;
     }

     /*挂号类型,1：预约,2：当天*/
     private Integer regType;
     public void setRegType(Integer regType) {
          this.regType = regType;
     }
     public Integer getRegType() {
          return regType;
     }

     /**/
     private String patientName;
     public void setPatientName(String patientName) {
          this.patientName = patientName;
     }
     public String getPatientName() {
          return patientName;
     }

     /*患者手机号码*/
     private String patientMobile;
     public void setPatientMobile(String patientMobile) {
          this.patientMobile = patientMobile;
     }
     public String getPatientMobile() {
          return patientMobile;
     }

     /*平台订单号*/
     private String orderNo;
     public void setOrderNo(String orderNo) {
          this.orderNo = orderNo;
     }
     public String getOrderNo() {
          return orderNo;
     }

     /*平台订单号计算出的哈希值*/
     private Long orderNoHashVal;
     public void setOrderNoHashVal(Long orderNoHashVal) {
          this.orderNoHashVal = orderNoHashVal;
     }
     public Long getOrderNoHashVal() {
          return orderNoHashVal;
     }

     /*平台退费订单号*/
     private String refundOrderNo;
     public void setRefundOrderNo(String refundOrderNo) {
          this.refundOrderNo = refundOrderNo;
     }
     public String getRefundOrderNo() {
          return refundOrderNo;
     }

     /*HIS付费订单号，平台退费订单号哈希值*/
     private String refundHisordNo;
     public void setRefundHisordNo(String refundHisordNo) {
          this.refundHisordNo = refundHisordNo;
     }
     public String getRefundHisordNo() {
          return refundHisordNo;
     }

     /*第三方支付流水号*/
     private String agtOrdNum;
     public void setAgtOrdNum(String agtOrdNum) {
          this.agtOrdNum = agtOrdNum;
     }
     public String getAgtOrdNum() {
          return agtOrdNum;
     }

     /*第三方退费流水号*/
     private String agtRefundOrdNum;
     public void setAgtRefundOrdNum(String agtRefundOrdNum) {
          this.agtRefundOrdNum = agtRefundOrdNum;
     }
     public String getAgtRefundOrdNum() {
          return agtRefundOrdNum;
     }

     /*科室编码*/
     private String deptCode;
     public void setDeptCode(String deptCode) {
          this.deptCode = deptCode;
     }
     public String getDeptCode() {
          return deptCode;
     }

     /*科室名称*/
     private String deptName;
     public void setDeptName(String deptName) {
          this.deptName = deptName;
     }
     public String getDeptName() {
          return deptName;
     }

     /*类别,1 专家医生；2 专科医生,3 专科*/
     private Integer category;
     public void setCategory(Integer category) {
          this.category = category;
     }
     public Integer getCategory() {
          return category;
     }

     /*医生/专科代码 ,预约挂号专科时该字段可为空，跟预约号源信息查询所返回的专科代码一致*/
     private String doctorCode;
     public void setDoctorCode(String doctorCode) {
          this.doctorCode = doctorCode;
     }
     public String getDoctorCode() {
          return doctorCode;
     }

     /*医生/专科名称,*/
     private String doctorName;
     public void setDoctorName(String doctorName) {
          this.doctorName = doctorName;
     }
     public String getDoctorName() {
          return doctorName;
     }

     /*职称*/
     private String doctorTitle;
     public void setDoctorTitle(String doctorTitle) {
          this.doctorTitle = doctorTitle;
     }
     public String getDoctorTitle() {
          return doctorTitle;
     }

     /*挂号时间,格式：时间毫秒数*/
     private Long registerTime;
     public void setRegisterTime(Long registerTime) {
          this.registerTime = registerTime;
     }
     public Long getRegisterTime() {
          return registerTime;
     }

     /*支付超时时间*/
     private Long payTimeoutTime;
     public void setPayTimeoutTime(Long payTimeoutTime) {
          this.payTimeoutTime = payTimeoutTime;
     }
     public Long getPayTimeoutTime() {
          return payTimeoutTime;
     }

     /*就诊日期,格式：YYYY-MM-DD*/
     private String scheduleDate;
     public void setScheduleDate(String scheduleDate) {
          this.scheduleDate = scheduleDate;
     }
     public String getScheduleDate() {
          return scheduleDate;
     }

     private String beginScheduleDate;
     public void setBeginScheduleDate(String beginScheduleDate) {
          this.beginScheduleDate = beginScheduleDate;
     }
     public String getBeginScheduleDate() {
          return beginScheduleDate;
     }

     private String endScheduleDate;
     public void setEndScheduleDate(String endScheduleDate) {
          this.endScheduleDate = endScheduleDate;
     }
     public String getEndScheduleDate() {
          return endScheduleDate;
     }

     /*分时开始时间 ,格式：HH:mm*/
     private String beginTime;
     public void setBeginTime(String beginTime) {
          this.beginTime = beginTime;
     }
     public String getBeginTime() {
          return beginTime;
     }

     /*分时结束时间：HH:mm*/
     private String endTime;
     public void setEndTime(String endTime) {
          this.endTime = endTime;
     }
     public String getEndTime() {
          return endTime;
     }

     /*预约来源   1：微信公众号    2：支付宝服务窗*/
     private Integer regMode;
     public void setRegMode(Integer regMode) {
          this.regMode = regMode;
     }
     public Integer getRegMode() {
          return regMode;
     }

     /*1  微信    2 支付宝    3 银联*/
     private Integer tradeMode;
     public void setTradeMode(Integer tradeMode) {
          this.tradeMode = tradeMode;
     }
     public Integer getTradeMode() {
          return tradeMode;
     }

     /*单位：分,原挂号费用*/
     private Integer regFee;
     public void setRegFee(Integer regFee) {
          this.regFee = regFee;
     }
     public Integer getRegFee() {
          return regFee;
     }

     /*,单位：分,优惠后的挂号费用*/
     private Integer realRegFee;
     public void setRealRegFee(Integer realRegFee) {
          this.realRegFee = realRegFee;
     }
     public Integer getRealRegFee() {
          return realRegFee;
     }

     /*,单位：分,原诊疗费用*/
     private Integer treatFee;
     public void setTreatFee(Integer treatFee) {
          this.treatFee = treatFee;
     }
     public Integer getTreatFee() {
          return treatFee;
     }

     /*,单位：分,优惠后的诊疗费用*/
     private Integer realTreatFee;
     public void setRealTreatFee(Integer realTreatFee) {
          this.realTreatFee = realTreatFee;
     }
     public Integer getRealTreatFee() {
          return realTreatFee;
     }

     /*费用说明*/
     private String feeDesc;
     public void setFeeDesc(String feeDesc) {
          this.feeDesc = feeDesc;
     }
     public String getFeeDesc() {
          return feeDesc;
     }

     /*医院预约流水号*/
     private String hisOrdNo;
     public void setHisOrdNo(String hisOrdNo) {
          this.hisOrdNo = hisOrdNo;
     }
     public String getHisOrdNo() {
          return hisOrdNo;
     }

     /*HIS返回的单据号或者预约号*/
     private String receiptNum;
     public void setReceiptNum(String receiptNum) {
          this.receiptNum = receiptNum;
     }
     public String getReceiptNum() {
          return receiptNum;
     }

     /*就诊序号*/
     private String serialNum;
     public void setSerialNum(String serialNum) {
          this.serialNum = serialNum;
     }
     public String getSerialNum() {
          return serialNum;
     }

     /*提醒患者就诊的地方*/
     private String visitLocation;
     public void setVisitLocation(String visitLocation) {
          this.visitLocation = visitLocation;
     }
     public String getVisitLocation() {
          return visitLocation;
     }

     /*条型码*/
     private String barcode;
     public void setBarcode(String barcode) {
          this.barcode = barcode;
     }
     public String getBarcode() {
          return barcode;
     }

     /*就诊说明*/
     private String visitDesc;
     public void setVisitDesc(String visitDesc) {
          this.visitDesc = visitDesc;
     }
     public String getVisitDesc() {
          return visitDesc;
     }

     /*1：为本人挂号,2：为子女挂号,3：为他人挂号*/
     private Integer regPersonType;
     public void setRegPersonType(Integer regPersonType) {
          this.regPersonType = regPersonType;
     }
     public Integer getRegPersonType() {
          return regPersonType;
     }

     /*修改时间的毫秒数*/
     private Long updateTime;
     public void setUpdateTime(Long updateTime) {
          this.updateTime = updateTime;
     }
     public Long getUpdateTime() {
          return updateTime;
     }

     /*分时 时段   1：上午   2：下午     3：晚上*/
     private Integer timeFlag;
     public void setTimeFlag(Integer timeFlag) {
          this.timeFlag = timeFlag;
     }
     public Integer getTimeFlag() {
          return timeFlag;
     }

     /*支付控制类型  1：必须在线支付    2：不用在线支付     3：支持暂不支付*/
     private Integer onlinePaymentType;
     public void setOnlinePaymentType(Integer onlinePaymentType) {
          this.onlinePaymentType = onlinePaymentType;
     }
     public Integer getOnlinePaymentType() {
          return onlinePaymentType;
     }

     /*是否已被支付回调  1 是   0 否*/
     private Integer isHadCallBack;
     public void setIsHadCallBack(Integer isHadCallBack) {
          this.isHadCallBack = isHadCallBack;
     }
     public Integer getIsHadCallBack() {
          return isHadCallBack;
     }

     /*记录名称*/
     private String recordTitle;
     public void setRecordTitle(String recordTitle) {
          this.recordTitle = recordTitle;
     }
     public String getRecordTitle() {
          return recordTitle;
     }

     /*写HIS失败原因*/
     private String failureMsg;
     public void setFailureMsg(String failureMsg) {
          this.failureMsg = failureMsg;
     }
     public String getFailureMsg() {
          return failureMsg;
     }

     /*是否是有效的挂号记录  比如挂号时锁号异常后轮询处理变为取消状态的记录为无效挂号记录    1有效   0 无效*/
     private Integer isValid;
     public void setIsValid(Integer isValid) {
          this.isValid = isValid;
     }
     public Integer getIsValid() {
          return isValid;
     }

     /*支付时间*/
     private Long payTime;
     public void setPayTime(Long payTime) {
          this.payTime = payTime;
     }
     public Long getPayTime() {
          return payTime;
     }

     /*退费时间*/
     private Long refundTime;
     public void setRefundTime(Long refundTime) {
          this.refundTime = refundTime;
     }
     public Long getRefundTime() {
          return refundTime;
     }

     /*医保金额（无用）*/
     private Integer insurance;
     public void setInsurance(Integer insurance) {
          this.insurance = insurance;
     }
     public Integer getInsurance() {
          return insurance;
     }

     /*(无用)*/
     private String tradeNo;
     public void setTradeNo(String tradeNo) {
          this.tradeNo = tradeNo;
     }
     public String getTradeNo() {
          return tradeNo;
     }

     /*总金额*/
     private Integer totalFee;
     public void setTotalFee(Integer totalFee) {
          this.totalFee = totalFee;
     }
     public Integer getTotalFee() {
          return totalFee;
     }

     /*（无用）*/
     private String serialyb;
     public void setSerialyb(String serialyb) {
          this.serialyb = serialyb;
     }
     public String getSerialyb() {
          return serialyb;
     }

     /*业务单据号（无用）*/
     private String bill;
     public void setBill(String bill) {
          this.bill = bill;
     }
     public String getBill() {
          return bill;
     }

     /*是否医保 1是 0否*/
     private String isInsurance;
     public void setIsInsurance(String isInsurance) {
          this.isInsurance = isInsurance;
     }
     public String getIsInsurance() {
          return isInsurance;
     }

     /*个人账户结算金额,医保结算时必输,单位：分*/
     private String accountAmount;
     public void setAccountAmount(String accountAmount) {
          this.accountAmount = accountAmount;
     }
     public String getAccountAmount() {
          return accountAmount;
     }

     /*统筹基金结算金额,医保结算时必输,单位：分,*/
     private String medicareAmount;
     public void setMedicareAmount(String medicareAmount) {
          this.medicareAmount = medicareAmount;
     }
     public String getMedicareAmount() {
          return medicareAmount;
     }

     /*医保结算时必输,单位：分,记账合计 = 个人账户结算金额 + 统筹基金结算金额,*/
     private String insuranceAmount;
     public void setInsuranceAmount(String insuranceAmount) {
          this.insuranceAmount = insuranceAmount;
     }
     public String getInsuranceAmount() {
          return insuranceAmount;
     }

     /*医保类型（没用）*/
     private String insuredType;
     public void setInsuredType(String insuredType) {
          this.insuredType = insuredType;
     }
     public String getInsuredType() {
          return insuredType;
     }

     /*患者类型（没用）*/
     private String patientType;
     public void setPatientType(String patientType) {
          this.patientType = patientType;
     }
     public String getPatientType() {
          return patientType;
     }

     /*医疗费用支付项目代码（没用）*/
     private String paymentId;
     public void setPaymentId(String paymentId) {
          this.paymentId = paymentId;
     }
     public String getPaymentId() {
          return paymentId;
     }

     /*支付金额（没用）*/
     private String paymentFee;
     public void setPaymentFee(String paymentFee) {
          this.paymentFee = paymentFee;
     }
     public String getPaymentFee() {
          return paymentFee;
     }

     /*退款流水号,如果是医保支付，必须返回,用于医保订单失败退款入参,*/
     private String cancelSerialNo;
     public void setCancelSerialNo(String cancelSerialNo) {
          this.cancelSerialNo = cancelSerialNo;
     }
     public String getCancelSerialNo() {
          return cancelSerialNo;
     }

     /*退款单据号,如果是医保支付，必须返回,用于医保订单失败退款入参,*/
     private String cancelBillNo;
     public void setCancelBillNo(String cancelBillNo) {
          this.cancelBillNo = cancelBillNo;
     }
     public String getCancelBillNo() {
          return cancelBillNo;
     }

     /*医保挂号流水号*/
     private String medicalRegisterSerialNum;
     public void setMedicalRegisterSerialNum(String medicalRegisterSerialNum) {
          this.medicalRegisterSerialNum = medicalRegisterSerialNum;
     }
     public String getMedicalRegisterSerialNum() {
          return medicalRegisterSerialNum;
     }

     /*医院编码(医保预约挂号使用)*/
     private String medicalHospitalCode;
     public void setMedicalHospitalCode(String medicalHospitalCode) {
          this.medicalHospitalCode = medicalHospitalCode;
     }
     public String getMedicalHospitalCode() {
          return medicalHospitalCode;
     }

     /*操作员编码(医保预约挂号使用)*/
     private String medicalOperatorCode;
     public void setMedicalOperatorCode(String medicalOperatorCode) {
          this.medicalOperatorCode = medicalOperatorCode;
     }
     public String getMedicalOperatorCode() {
          return medicalOperatorCode;
     }

     /*操作员姓名(医保预约挂号使用)*/
     private String medicalOperatorName;
     public void setMedicalOperatorName(String medicalOperatorName) {
          this.medicalOperatorName = medicalOperatorName;
     }
     public String getMedicalOperatorName() {
          return medicalOperatorName;
     }

     /*排班Id*/
     private String workId;
     public void setWorkId(String workId) {
          this.workId = workId;
     }
     public String getWorkId() {
          return workId;
     }

     /*附带检查费*/
     private Integer checkFee;
     public void setCheckFee(Integer checkFee) {
          this.checkFee = checkFee;
     }
     public Integer getCheckFee() {
          return checkFee;
     }

     /*处方识别*/
     private String receiptId;
     public void setReceiptId(String receiptId) {
          this.receiptId = receiptId;
     }
     public String getReceiptId() {
          return receiptId;
     }

     /*处方类型*/
     private String receiptType;
     public void setReceiptType(String receiptType) {
          this.receiptType = receiptType;
     }
     public String getReceiptType() {
          return receiptType;
     }

     /*社保诊疗费*/
     private Integer sstreatFee;
     public void setSstreatFee(Integer sstreatFee) {
          this.sstreatFee = sstreatFee;
     }
     public Integer getSstreatFee() {
          return sstreatFee;
     }

     /*转医保订单号*/
     private String conversionOrderNo;
     public void setConversionOrderNo(String conversionOrderNo) {
          this.conversionOrderNo = conversionOrderNo;
     }
     public String getConversionOrderNo() {
          return conversionOrderNo;
     }

     /*病区验证码*/
     private String bqyzm;
     public void setBqyzm(String bqyzm) {
          this.bqyzm = bqyzm;
     }
     public String getBqyzm() {
          return bqyzm;
     }

     /**/
     private String inviteCode;
     public void setInviteCode(String inviteCode) {
          this.inviteCode = inviteCode;
     }
     public String getInviteCode() {
          return inviteCode;
     }

     /*电脑号*/
     private String dnh;
     public void setDnh(String dnh) {
          this.dnh = dnh;
     }
     public String getDnh() {
          return dnh;
     }
     
     private String mzFeeId;
     
     
     public String getMzFeeId() {
		return mzFeeId;
	}
	public void setMzFeeId(String mzFeeId) {
		this.mzFeeId = mzFeeId;
	}

	public OrderExtVo toOrder() {
    	 OrderExtVo o = new OrderExtVo();
//    	 o.setAccountAmount(this.getAccountAmount());
    	 o.setBarcode(this.getBarcode());
//    	 o.setBeginCreatedTime(beginCreatedTime);
    	 o.setPayTime(this.getPayTime() == null ? null : GuideConstants.YYYYMMDDHHMMSS.format(this.getPayTime()));
    	 o.setBranchCode(this.getBranchCode());
    	 o.setBranchId(this.getBranchId());
    	 o.setBeginUpdateTime(this.getUpdateTime() == null ? null : GuideConstants.YYYYMMDDHHMMSS.format(this.getUpdateTime()));
    	 o.setBeginScheduleTime(this.getBeginScheduleDate());
//    	 o.setBranchName(this.getbran);
//    	 o.setCreatedTime(this.getcr);
    	 o.setDeptCode(this.getDeptCode());
//    	 o.setDeptId(this.getdept);
    	 o.setDeptName(this.getDeptName());
    	 o.setDoctorCode(this.getDoctorCode());
    	 o.setDoctorName(this.getDoctorName());
    	 o.setDoctorTitle(this.getDoctorTitle());
//    	 o.setEndPayTime(thi);
    	 o.setEndScheduleTime(this.getEndScheduleDate());
//    	 o.setExtraParams(this.getex);
    	 o.setHisMessage(this.getVisitLocation());
    	 o.setHisOrderNo(this.getHisOrdNo());
    	 o.setId(this.getId());
//    	 o.setIdCardNo(this.getid this.getCardNo());
//    	 o.setIdCardType(this.getCardType());
//    	 o.setInsuranceAmount(this.getInsuranceAmount() == null ? 0 : (int)new Double(this.getInsuranceAmount())*100);
//    	 o.setIsInsurance(Short.parseShort(this.getIsInsurance()));
    	 o.setMedicalCardNo(this.getCardNo());
    	 o.setMedicalCardType( this.getCardType() == null ? 1 : this.getCardType().shortValue());
//    	 o.setMzFeeId(this.getmz);
    	 o.setOpenId(this.getOpenId());
    	 o.setOrderNo(this.getOrderNo());
    	 o.setOrderStatus(this.getRegStatus().shortValue());
    	 o.setOrderType(this.getRegType().shortValue());
    	 o.setOrgCode(this.getHospitalCode());
    	 o.setOrgName(this.getHospitalName());
    	 o.setOutOrderNo(this.getAgtOrdNum());
    	 o.setPayAmount(this.getTotalFee());
//    	 o.setPayCode(this.getpayco);
    	 o.setPayRealAmount(this.getRealTreatFee());
    	 o.setPayStatus(this.getPayStatus().shortValue());
    	 o.setPlatformCode(this.getAppId());
    	 
//    	 o.setPlatformName(this.getappn);
    	 o.setScheduleTime(this.getScheduleDate());
    	 o.setTotalAmount(this.getTotalFee());
    	 o.setTotalRealAmount(this.getRealTreatFee());
    	 o.setUserId(this.getUserId());
    	 o.setUserMobile(this.getPatientMobile());
    	 o.setUserName(this.getPatientName());
//    	 o.setUserSex(this.getSerialNum());
    	 o.setEndScheduleTime(this.getEndScheduleDate());
    	 o.setMzFeeId(this.getMzFeeId());
    	 
//    	 o.setBeginTime(this.getBeginTime());
//    	 o.setEndTime(this.getEndTime());
//    	 o.setHospitalId(this.getHospitalId());
    	 
    	 
    	 return o;
    	 
     }
}